<#assign contextPath=springMacroRequestContext.getContextPath() />
<#assign name=names />

<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-商品规格管理"> </@frame.head>

<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 后台管理中心 <span class="c-gray en">&gt;</span> 我的账户 <span
		class="c-gray en">&gt;</span> 待结算列表 <a class="btn btn-success radius r"
		style="line-height:1.6em;margin-top:3px"
		href="javascript:location.replace(location.href);" title="刷新"><i
		class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
   <input type="hidden" name="page" value="${pagination.pageNo}"
			id="page" />  
   <input type="hidden" name="checkboxs" value="${checkboxs}"
			id="checkboxs" />
   <input type="hidden" name="upOrDown" value="${upOrDown}"
			id="upOrDown" />                           
    <div class="cl pd-5 bg-1 bk-gray mt-20"> 
    <span class="l">
    	待结算：${pendingSettlementAmount}
    </span>
    <span class="r">共有数据：<strong>${pagination.totalCount}</strong> 条</span> </div>
    <table class="table table-border table-bordered table-bg">
   	
        <tbody>
         <#list pagination.list as list> 
          	<tr class="text-c">
            <td>${(pagination.pageNo-1)*10 + list_index+1}</td>
            <td>
           		 <#if list.changeType==1>	
						课程收益
					</#if>
					 <#if list.changeType==2>	
						直播收益
					</#if>
					 <#if list.changeType==3>	
						评审收益 
					</#if>
					 <#if list.changeType==4>	
						商城收益  
					</#if>
					 <#if list.changeType==5>	
						违规扣费
					</#if>
           </td>
            <td>       
					订单号: ${list.payLog.id}
				</td>
            <td>   
					${(list.creatTime?string("yyyy-MM-dd"))!}
				</td>
				<td>       
					￥ ${list.changeAmount}
				</td>
            <td>
					 <a href="${contextPath}/incomeAndExpenditureRecordd/incomeAndExpenditureRecordd_View?id=${list.id}"
						type="button">查看详情</a>&nbsp;&nbsp;&nbsp;
            </td>
         </tr>
         
         <!-- ${(list.createDate?string("yyyy-MM-dd"))!} -->
         </#list>
        </tbody>
    </table>
    <div id="div_page" style="padding-top: 10px;float: right"></div>
</div>
<@frame.end "default">
</@frame.end>
</html>
<script type="text/javascript"
	src="${contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript"
	src="${contextPath}/resources/js/laypage/laypage.js"></script>
<script type="text/javascript">
var path="${contextPath}";
 laypage({
	cont: 'div_page',//容器。值支持id名、原生dom对象，jquery对象。
    pages: ${pagination.totalPage},//通过后台拿到的总页数
    curr:  ${pagination.pageNo} || 1, //当前页
    skip: true, //是否开启跳页
	first: 1, //将首页显示为数字1,。若不显示，设置false即可
    last: ${pagination.totalPage},
    jump: function(obj , first){//触发分页后的回调
        if(!first){ //点击跳页触发函数;当前页为obj.curr
        	window.location.href = path + "/teach/teachlist?page=" + obj.curr
        }
    }
})  

/* function editroles(id){
	  var url=path+"/teach/teacheruppwd?id="+id;
	  if(url!=""){
	      var index = layer.open({
	            type: 2,
	            title: "修改密码",
	            scrollbar: false,
	            content: url,
	            area: ['500px', '400px']
	        });
	    }
} */

</script>